package com.lrkj.system.domain;

import com.lrkj.common.annotation.Excel;
import com.lrkj.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 序列管理对象 sys_serial_num
 *
 * @author yajun_ren
 * @date 2021-04-21
 */
public class SysSerialNum extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * key
     */
    @Excel(name = "key")
    private String snKey;

    /**
     * sn
     */
    @Excel(name = "sn")
    private Long sn;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setSnKey(String snKey) {
        this.snKey = snKey;
    }

    public String getSnKey() {
        return snKey;
    }

    public void setSn(Long sn) {
        this.sn = sn;
    }

    public Long getSn() {
        return sn;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("snKey", getSnKey())
                .append("sn", getSn())
                .toString();
    }
}
